package cn.tedu.exec;
/**本类用于面向对象综合设计案例*/
public class DesignTeacher {
    public static void main(String[] args) {

    }
}
/**抽取所有类的共性功能，*/
abstract class Teacher{
    public abstract void ready();
    public abstract void teach();
}
class CGBTeacher extends Teacher{

    @Override
    public void ready() {
        System.out.println("");
    }

    @Override
    public void teach() {
        System.out.println("");
    }
}
class ACTTeacher extends Teacher{

    @Override
    public void ready() {
        System.out.println("");
    }

    @Override
    public void teach() {
        System.out.println("");
    }
}
//3.创建一个抽象子类，只实现抽象父类中的一个抽象方法
abstract class SCDTeacher extends Teacher{

    @Override
    public void ready() {
        System.out.println("正在研发中...");
    }


}
